package com.smsclient.service;

import com.smsclient.exception.BusinessException;
import com.smsclient.model.OrgTemplateActiveVo;
import com.smsclient.model.OrgTemplateQueryVo;
import com.smsclient.model.entity.SmsOrgTemplate;
import org.springframework.data.domain.Page;

import java.util.List;

public interface SmsOrgTemplateService {

    void saveOrgTemplate(SmsOrgTemplate orgTemplate);

    OrgTemplateActiveVo activeTemplateStatus(OrgTemplateActiveVo vo) throws BusinessException;

    List findAll();

    Page listTamplate(OrgTemplateQueryVo vo);

    SmsOrgTemplate getOrgTempalte(String orgId);
}
